enable Camera Zoom Clamping
abstract fun enableCameraZoomClamping(blocks: List<DesignBlock>, minZoomLimit: Float = -1.0F, maxZoomLimit: Float = -1.0F, paddingLeft: Float = 0.0f, paddingTop: Float = 0.0f, paddingRight: Float = 0.0f, paddingBottom: Float = 0.0f)
Continually ensures the zoom level of the camera in the active scene to be in the given range.
Parameters
blocks
the blocks for which the camera position is adjusted to, usually, the scene or a page.
min Zoom Limit
the minimum zoom level limit when zooming out, unlimited when negative.
max Zoom Limit
the maximum zoom level limit when zooming in, unlimited when negative.
padding Left
optional padding in screen pixels to the left of the block. Only applied when the block is not a camera.
padding Top
optional padding in screen pixels to the top of the block. Only applied when the block is not a camera.
padding Right
optional padding in screen pixels to the right of the block. Only applied when the block is not a camera.
padding Bottom
optional padding in screen pixels to the bottom of the block. Only applied when the block is not a camera.